        <!DOCTYPE html>
        <html >
        <head>
            <meta charset="UTF-8">
            <title>首页</title>
            <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
            <meta content="yes" name="apple-mobile-web-app-capable">
            <meta content="black" name="apple-mobile-web-app-status-bar-style">
            <meta content="telephone=no" name="format-detection">

            <link rel="stylesheet" href="/sunfc/css/weui.css">
            <link rel="stylesheet" href="/sunfc/css/jquery-weui.css">
            <link rel="stylesheet" href="/sunfc/css/style.css">

            <style type="text/css">

            </style>
        </head>
        <body class="back1">


        <div id="app">

        <div class="index-top-fix">
            <div class="top">
                <p style="text-align: center;color:#ccc;">公益顺风车</p>
            </div>
            <div class="bottom">
                <div class="tab-bottom">
                    <a href="javascript:;" class="cur">乘客</a>
                    <a href="{:url('index/sunfc.publish/cat_owner')}">车主</a>
                    <div class="pao">月赚1500元</div>
                </div>
                <!--个人资料介面-->
                <div style="position: absolute;right: 10px;top: 0;">
                    <a href="tel:{}"><img src="/sunfc/images/kefu.png" width="20" style="margin-right:12px;"></a>
                    <a href="个人资料.html"><img src="/sunfc/images/user1.png" width="15"></a>
                </div>
            </div>
        </div>

        <!-- 这里写内容 -->
        <div style="margin-top: 88px;">
        </div>

        <div class="weui-tab index-box index-kuashi">
            <div class="weui-navbar">
                <a class="weui-navbar__item weui-bar__item--on" href="#tab1" onclick="hackman()">
                    市内
                </a>
                <a class="weui-navbar__item" href="#tab2" onclick="stride()" >
                    跨城
                </a>
            </div>
            <div class="weui-tab__bd">
                <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <span class="dian"></span>
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15" id="addressStart">你从哪儿出发</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <span class="dian2"></span>
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 col1" id="addressEnd">你要去哪儿</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="tab2" class="weui-tab__bd-item">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <span class="dian"></span>
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15" id="addressStartKua">周口市政府</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <span class="dian2"></span>
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 col1" id="addressEndKua">你要去哪儿</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

            <!-- 待处理行程 -->
            <div v-if="items.status == 0">
                <!--待处理行程-->
                <div class="index-box index-waitting">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img src="/sunfc/images/daichuli.png" width="20">
                            </div>
                            <div class="weui-cell__bd">
                                <p>待处理行程</p>
                            </div>
                        </div>
                        <a class="weui-cell weui-cell_access left0" href="javascript:;">
                            <div class="weui-cell__hd">
                                <img src="/sunfc/images/shal.png" width="40" height="40">
                            </div>
                            <div class="weui-cell__bd">
                                <p>{{items.depart_time}}</p>
                                <p class="huic" v-if="items.region == 0">
                                    <span>{{items.begin_detail}}</span>
                                    <img src="/sunfc/images/jiantou.png" width="15" />
                                    <span>{{items.end_detail}}</span>
                                </p>
                                <!--这个是跨市的-->
                                <p class="huic" v-else-if="items.region == 1">
                                    <span>{{items.begin_detail}}</span>
                                    <img src="/sunfc/images/jiantou.png" width="15" />
                                    <span>{{items.end_detail}}</span>
                                </p>

                            </div>
                            <div class="weui-cell__ft">等待接单</div>
                        </a>
                    </div>
                </div>
            </div>

            <!--行程中-->
            <div v-else-if="items.status == 1">
                <!-- 行程中 -->
                <div class="index-box index-xingchengz">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img src="/sunfc/images/daichuli.png" width="20">
                            </div>
                            <div class="weui-cell__bd">
                                <p>行程中</p>
                            </div>
                        </div>
                        <div class="weui-cell left0">
                            <div class="weui-cell__hd">
                                <div class="touxiang">
                                    <img class="t-photo" :src="items.headimgurl" width="60" height="60">
                                    <img class="t-icon" src="/sunfc/images/sex1.png" width="15">
                                </div>
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f17">{{items.realname}}</p>
                                <p class="xcz-chexing">
                                    <span class="xinren">信任值80分</span>
                                    <span>{{items.car_info}}</span>
                                </p>
                            </div>
                        </div>
                        <div class="weui-cell left0">

                            <div class="weui-cell__bd xingchengz">

                                <div class="weui-cells">
                                    <div class="weui-cell">
                                        <div class="weui-cell__hd">
                                            <img src="/sunfc/images/wait.png" width="8" class="wait">
                                        </div>
                                        <div class="weui-cell__bd">
                                            <p>
                                                <span>今天:{{items.depart_time}}</span>

                                                <span class="font1">{{items.number}}坐</span>
                                                <span class="font2">95%顺路</span>

                                            </p>
                                        </div>
                                    </div>
                                    <div class="weui-cell">
                                        <div class="weui-cell__hd">
                                            <span class="dian"></span>
                                        </div>
                                        <!--在这里是要判断跨城与本市-->

                                        <div class="weui-cell__bd"  >
                                            <p>
                                                <span>{{items.begin_place}}</span>
                                                <span class="font1">{{items.begin_detail}} 7km</span>
                                            </p>

                                            <!--<p>-->
                                                <!--<span>{{items.begin_place}}</span>-->
                                                <!--<span class="font1">{{items.begin_detail}} 7km</span>-->
                                            <!--</p>-->


                                        </div>
                                    </div>


                                    <div class="weui-cell">
                                        <div class="weui-cell__hd">
                                            <span class="dian2"></span>
                                        </div>
                                        <div class="weui-cell__bd">
                                            <p >
                                                <span>{{items.end_place}}</span>
                                                <span class="font1">{{items.end_detail}} 3.4km</span>
                                            </p>

                                            <!--<p >-->
                                                <!--<span>{{items.end_place}}</span>-->
                                                <!--<span class="font1">{{items.end_detail}} 3.4km</span>-->
                                            <!--</p>-->
                                        </div>
                                    </div>
                                </div>


                            </div>
                        </div>
                        <div class="weui-cell left0">

                            <div class="weui-cell__bd">
                                <p class="xingchengz-tel">
                                    <span class="col1">请耐心等待</span>
                                    <a :href="'tel:'+items.tel" class="telephone"><img src="/sunfc/images/tel.png" width="20" />联系电话</a>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        <!-- 发现 -->
        <div class="index-box index-waitting index-find">
            <div class="weui-cells">
                <div class="weui-cell">
                    <div class="weui-cell__hd">
                        <img src="/sunfc/images/daichuli.png" width="20">
                    </div>
                    <div class="weui-cell__bd">
                        <p>发现</p>
                    </div>
                </div>



                <a class="weui-cell weui-cell_access left0" href="{:url('index/sunfc.publish/cat_owner')}">
                    <div class="weui-cell__hd">
                        <img src="/sunfc/images/che.png" width="20">
                    </div>
                    <div class="weui-cell__bd">
                        <p>成为车主</p>
                    </div>
                    <div class="weui-cell__ft f13">顺路接人平摊油费<span class="yuan"></span></div>
                </a>




                <a class="weui-cell weui-cell_access left0" href="javascript:;">
                    <div class="weui-cell__hd">
                        <img src="/sunfc/images/liwu.png" width="20">
                    </div>
                    <div class="weui-cell__bd">
                        <p>邀请车主</p>
                    </div>
                    <div class="weui-cell__ft f13">立得20元<span class="yuan"></span></div>
                </a>
            </div>
        </div>




            <!--这个地方是判断是跨城车还是市内车-->
            <div v-if="leg > 1">
                <!-- 跨城车主 -->
                <div class="index-box index-waitting index-find">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img src="/sunfc/images/daichuli.png" width="20">
                            </div>
                            <div class="weui-cell__bd">
                                <p>跨城车主</p>
                            </div>
                        </div>


                        <div v-for="sit in str">
                            <div class="weui-cell left0 index-shinei" style="float: left;width: 35%;margin-left: 3%;">
                                <a href="">{{sit.content}} {{sit.number}}人 </a>
                            </div>
                        </div>
                    </div>
                </div>

            </div>


            <div v-else>
                <!-- 市内车主 -->
                <div class="index-box index-waitting">
                    <div class="weui-cells">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img src="/sunfc/images/daichuli.png" width="20">
                            </div>
                            <div class="weui-cell__bd">
                                <p>市内车主</p>
                            </div>
                        </div>


                        <div v-for="site in hack " >
                            <div class="weui-cell left0 index-shinei" style="float: left;width: 35%;margin-left: 3%;">
                                <a href="">{{site.content}}{{site.number}}人</a>
                            </div>
                        </div>


                    </div>
                </div>

            </div>





        <!-- 等待接单 -->
            <!--等待接单循环-->
       <div  v-for="site in hack">

        <div class="index-box index-xingchengz">
            <div class="weui-cells">
                <div class="weui-cell">
                    <div class="weui-cell__hd">
                        <img src="/sunfc/images/daichuli.png" width="20">
                    </div>
                    <div class="weui-cell__bd">
                        <p>等待接单</p>
                    </div>
                </div>
            </div>
            <!-- 第一个 -->
            <div class="weui-cells">
                <div class="weui-cell left0">
                    <div class="weui-cell__hd">
                        <div class="touxiang">
                            <img class="t-photo" src="/sunfc/images/photo.jpg" width="60" height="60">
                            <img class="t-icon" src="/sunfc/images/sex1.png" width="15">
                        </div>
                    </div>
                    <div class="weui-cell__bd pos-tel">
                        <p class="f17">{{site.realname}}</p>
                        <p class="xcz-chexing">
                            <span class="xinren">信任值80分</span>
                            <span>{{site.car_info}}</span>
                        </p>
                        <div class="pos-tel-abs">

                            <!--发布的信息中有电话显示发布信息的电话-->
                            <div v-if="site.phone != '' ">
                                <a :href="'tel:'+ site.phone">
                                    <img src="/sunfc/images/tel.png" width="30">
                                </a>
                            </div>
                            <!--发布信息中没有电话显示信息表中的电话-->
                            <div  v-else-if="site.phone == '' ">
                                <a :href="'tel:'+ site.tel">
                                    <img src="/sunfc/images/tel.png" width="30">
                                </a>

                            </div>



                        </div>
                    </div>
                </div>
                <div class="weui-cell left0">

                    <div class="weui-cell__bd xingchengz">

                        <div class="weui-cells">
                            <div class="weui-cell">
                                <div class="weui-cell__hd">
                                    <img src="/sunfc/images/wait.png" width="8" class="wait">
                                </div>
                                <div class="weui-cell__bd">
                                    <p>
                                        <span>{{site.depart_time}}</span>
                                        <span class="font1">3坐</span>
                                        <span class="font2">95%顺路</span>
                                    </p>
                                </div>
                            </div>
                            <div class="weui-cell">
                                <div class="weui-cell__hd">
                                    <span class="dian"></span>
                                </div>
                                <div class="weui-cell__bd">
                                    <p>
                                        <span>{{site.begin_place}}</span>
                                        <span class="font1">{{site.begin_detail}} 7km</span>
                                    </p>
                                </div>
                            </div>
                            <div class="weui-cell">
                                <div class="weui-cell__hd">
                                    <span class="dian2"></span>
                                </div>
                                <div class="weui-cell__bd">
                                    <p>
                                        <span>{{site.end_place}}</span>
                                        <span class="font1">{{site.end_detail}} 3.4km</span>
                                    </p>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="weui-cell left0">

                    <div class="weui-cell__bd">
                        <p class="xingchengz-tel">
                            <span class="col1">正在寻找乘客</span>
                            <a href="javascript:;" class="telephone" id="reserve1">
                                <img src="/sunfc/images/yuyue.png" width="20"/>我要预约</a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
       </div>




        <div id="addressStartAll" class="weui-popup__container popup-address">
            <div class="weui-popup__overlay"></div>
            <div class="weui-popup__modal">
                <div class="popup-address-search">
                    <div class="address">
                        <span>周口</span>
                        <img src="/sunfc/images/xia.png" width="20">
                    </div>
                    <input type="text" id="addressText" placeholder="你从哪儿出发">
                    <a href="#" id="aaa">取消</a>
                </div>
                <div class="index-box">
                    <div class="weui-cells addressList">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div><div class="weui-cell">
                        <div class="weui-cell__hd">
                            <img class="mr5" src="/sunfc/images/wait.png" width="8">
                        </div>
                        <div class="weui-cell__bd">
                            <p class="f15 p1">周口火车站-进站口</p>
                            <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                        </div>
                    </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <!--你要去哪儿-->
        <div id="addressStartAll2" class="weui-popup__container popup-address">
            <div class="weui-popup__overlay"></div>
            <div class="weui-popup__modal">
                <div class="popup-address-search">
                    <div class="address">
                        <span>周口</span>
                        <img src="/sunfc/images/xia.png" width="20">
                    </div>
                    <input type="text" id="addressText2" placeholder="你要去哪儿">
                    <a href="#" id="aaa2">取消</a>
                </div>
                <div class="index-box">
                    <div class="weui-cells addressList">
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div><div class="weui-cell">
                        <div class="weui-cell__hd">
                            <img class="mr5" src="/sunfc/images/wait.png" width="8">
                        </div>
                        <div class="weui-cell__bd">
                            <p class="f15 p1">周口火车站-进站口</p>
                            <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                        </div>
                    </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd">
                                <img class="mr5" src="/sunfc/images/wait.png" width="8">
                            </div>
                            <div class="weui-cell__bd">
                                <p class="f15 p1">周口火车站-进站口</p>
                                <p class="f15 p2">河南省周口市川汇区周口火车站-进站口</p>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>


        </div>

        </body>
        </html>

        <script src="/res/vue.js"></script>
        <script src="/sunfc/js/jquery.min.js"></script>
        <script src="/sunfc/js/jquery-weui.min.js"></script>
        <script src="/res/layer/layer.js"></script>
        <script>


            $(document).on("click", "#reserve1,#reserve2", function() {
                $.confirm("您确定要预约吗?", "确认预约?", function() {
                    //确定操作
                    $.toast("已预约!");
                }, function() {
                    //取消操作
                });
            });



            // 打开地址 你从哪儿出发 popup
            $(document).on("click", "#addressStart,#addressStartKua", function() {
                // if($(this).attr('id') == "addressStart" || $(this).attr('id') == "addressStartKua"){
                //     $("#addressText").attr("placeholder","你从哪儿出发");
                // }else{
                //     $("#addressText").attr("placeholder","你要去哪儿");
                // }
                $("#addressStartAll").popup();
            });
            // 关闭地址popup
            $(document).on("click", "#aaa", function() {
                $.closePopup("#addressStartAll");
            });

            // 打开地址 你要去哪儿 popup
            $(document).on("click", "#addressEnd,#addressEndKua", function() {
                $("#addressStartAll2").popup();
            });
            // 关闭地址popup
            $(document).on("click", "#aaa2", function() {
                $.closePopup("#addressStartAll2");
            });

            $("#addressStartAll").find(".weui-cell").click(function () {
                $.closePopup("#addressStartAll");
            });
            // 跳转
            $("#addressStartAll2").find(".weui-cell").click(function () {
                location.href = "确认发布.html";
            });

        </script>

        <script>

            //vue对象
            var app = new Vue({
                el: '#app',
                data: {
                    check: [],
                    type:1,
                    region:0,
                    // curr: 1,//当前页
                    // limit: 10,//当前页
                    items: {},
                    hack:{},
                    str:{},
                    leg:{},
                    key:{}
                }
            });
            $(function () {
                init();
                hackman();
                // stride();
            });
            //初始数据
            function init() {
                // layer.load(2);
                $.get('/index/sunfc.publish/index', {type: app.type, region:app.region},
                    function (res) {
                        // console.log(res.data)
                        layer.closeAll();
                        app.items = res.data;

                    }
                );
            }
            // 这个是最新发布的同城信息
            function hackman() {
                $.get('/index/sunfc.publish/hackman',{type: app.type},
                    function (res) {
                        console.log(res.data)
                        layer.closeAll();
                        app.hack = res.data;
                        app.leg = '';

                    }
                );
            }


            // 用来发布  跨城信息查询的
            function stride() {
                $.get('/index/sunfc.publish/stride',
                    function (res) {
                        console.log(res.data)
                        layer.closeAll();
                        app.str = res.data;
                        app.leg = res.data.length


                    }
                );
            }



        </script>


